<!-- DOWNLOADED FROM WWW.SCRIPTGATES.COM -->
<!DOCTYPE html>
<html>
    <head>
        <?php $this->load->view('js-css-view') ?>

        <script type="text/javascript">
            jQuery(document).ready(function() {
                // dynamic table
                jQuery('#dyntable').dataTable({
                    "sPaginationType": "full_numbers",
                    "aaSortingFixed": [[0, 'asc']],
                    "fnDrawCallback": function(oSettings) {
                        jQuery.uniform.update();
                    }
                });

            });
        </script>
    </head>

    <body class="errorpage">
        <div class="mainwrapper">    
            <div class="header">
                <?php //$this->load->view('dashboard/header-view'); ?>
                <div class="logo">
                    <a href="<?php echo base_url() ?>main"><img src="<?php echo base_url() ?>assets/images/logo.png" width="200" alt="" /></a>
                </div>
            </div>    
            <div class="maincontentinner">
                <div class="row-fluid">  
                    <div id="dashboard-left" class="span6">
                        <h4 class="widgettitle">Browse Song</h4>
                        <table id="dyntable" class="table table-bordered">
                            <colgroup>
                                <col class="con0" style="align: center; width: 4%" />
                                <col class="con1" />
                                <col class="con0" />
                                <col class="con1" />
                                <col class="con0" />
                            </colgroup>
                            <thead>
                                <tr>
                                    <th class="head0 center">#</th>
                                    <th class="head0 center">No</th>
                                    <th class="head0 center"></th>
                                    <th class="head1">Title</th>
                                    <th class="head1">Artist</th>
                                    <th class="head0 center">Play</th>
                                </tr>
                            </thead>
                            <tbody>

                              <?php 
                              $no = 1;
                              foreach($songs as $row) { ?>  
                                <tr class="gradeX">
                                    <td class="aligncenter"></td>

                                    <td class="aligncenter" width="10"><span class="center">
                                            <?php echo $no ?>                          </span></td>
                                                                       
                                    <td class="center" width="10"> <img src="<?php echo base_url() . $row['path_thumbnail'] ?>" alt=""width="80" /></td>
                                    <td>                                       
                                        <strong> <h5>  <?php echo $row['title'] ?> </h5> </strong>
                                      </td>
                                    <td><?php echo $row['artist'] ?></td>
                                    <td class="center">
                                        <a href="<?php echo base_url() ?>player/index/<?php echo $row['id'] ?>"
                                        <button class="btn btn-inverse"><i class="iconfa-play icon-white"></i></button>
                                        </a>
                                   
                                    </td>
                                </tr>
                              <?php $no++; } ?>
                            </tbody>
                        </table>
                    </div>
                    <div id="dashboard-right" class="span6">
                        <object width="600" height="409"> <param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf"></param><param name="flashvars" value="src=rtmp%3A%2F%2F127.0.0.1%2Fvod%2Fmp3%3Amjkt-JKT48-Baby-328347.mp3&poster=http%3A%2F%2Fosmf.org%2Fimages%2Fposter_cathy_fmp.jpg"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="600" height="409" flashvars="src=<?php echo $rtsp['video']?>&poster=<?php echo base_url() . $play['path_thumbnail'] ?>"></embed></object>

                    </div>
                </div>
            </div>


        </div><!--mainwrapper-->

    </body>
</html>